﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MachineVision.Domain
{
    public abstract class IEntity
    {
        [Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        public bool Inactive { get; set; } = false;
        public DateTime CreateTime { get; set; }
        [MaxLength(200)]
        public string? Remarks { get; set; }
    }
}
